package com.yxhl.zoume.data.http.rest.response.pay;

import com.google.gson.annotations.SerializedName;
import com.yxhl.zoume.data.http.rest.response.base.BaseResponse;

/**
 * 微信生成预订单响应
 * Created by vhawk on 16/4/5.
 */
public class WXPayOrderResponse extends BaseResponse {

    /**
     * 签名，支付宝微信支付可共用，不过生成方式不同
     */
    @SerializedName("sign")
    private String sign;
    /**
     * 微信支付，appID
     */
    @SerializedName("appid")
    private String appid;
    /**
     * 微信支付，商户号
     */
    @SerializedName("partnerid")
    private String partnerid;
    /**
     * 微信支付预支付ID
     */
    @SerializedName("prepayid")
    private String prepayid;
    /**
     * 微信支付随机数
     */
    @SerializedName("noncestr")
    private String noncestr;
    /**
     * 微信支付时间戳
     */
    @SerializedName("timestamp")
    private String timestamp;

    public String getSign() {
        return sign;
    }

    public WXPayOrderResponse setSign(String sign) {
        this.sign = sign;
        return this;
    }

    public String getAppid() {
        return appid;
    }

    public WXPayOrderResponse setAppid(String appid) {
        this.appid = appid;
        return this;
    }

    public String getPartnerid() {
        return partnerid;
    }

    public WXPayOrderResponse setPartnerid(String partnerid) {
        this.partnerid = partnerid;
        return this;
    }

    public String getPrepayid() {
        return prepayid;
    }

    public WXPayOrderResponse setPrepayid(String prepayid) {
        this.prepayid = prepayid;
        return this;
    }

    public String getNoncestr() {
        return noncestr;
    }

    public WXPayOrderResponse setNoncestr(String noncestr) {
        this.noncestr = noncestr;
        return this;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public WXPayOrderResponse setTimestamp(String timestamp) {
        this.timestamp = timestamp;
        return this;
    }
}
